<?php
class KomaStyleManager extends KomaSingletonObject
{
    private $_styles = null;
    private $_sources = array();
    
    function addSource($location)
    {
        $this->_sources[md5($location)] = $location;
    }
    
    function addStyle($style)
    {
        $this->_styles[md5($style)] = $style;
    }
    
    function getSources()
    {
        return $this->_sources;
    }
    
    function getStyles()
    {
        return $this->_styles;
    }
    
    static function getInstance()
    {
        self::createInstance(__CLASS__);
    }
}
?>